public class Object_func {

    public static void main(String[] args) {
        Student fage = new Student();
        fage.age = 22;
        fage.shot();
    }
}
 class Student{

    int age;
    public void shot(){
        System.out.println("你的年龄是"+age);
    }
}
class Father{
    public void test(){
        this.baseMethod();
    }
    int age;
    public void baseMethod(){
        System.out.println(" i'm your father");
    }
}
class Son extends Father{
    public void test2() {
        super.baseMethod();
    }
}
